package com.fruit.constants;

/**
 * 
 * @ClassName: GoodsContant
 * @author 葛欢欢
 * @version 2017.11.30 16:40
 */
public class GoodsContant {

	/**
	 * 
	 * @ClassName: State
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 */
	public enum State {
		UP("01"), DOWN("00");
		String value;

		State(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @return String
		 */
		public String getValue() {
			return value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 */
		public void setValue(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 * @return boolean
		 */
		public boolean equals(String value) {
			return this.value.equals(value);
		}
	}

	/**
	 * 
	 * @ClassName: Binding
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 */
	public enum Binding {
		YES("01"), NO("00"), PRE("02");
		String value;

		Binding(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @return String
		 */
		public String getValue() {
			return value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 */
		public void setValue(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 * @return boolean
		 */
		public boolean equals(String value) {
			return this.value.equals(value);
		}
	}

	/**
	 * 
	 * @ClassName: SaleType
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 */
	public enum SaleType {
		YES("00"), NO("01");
		String value;

		SaleType(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @return String
		 */
		public String getValue() {
			return value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 */
		public void setValue(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 * @return boolean
		 */
		public boolean equals(String value) {
			return this.value.equals(value);
		}
	}

	/**
	 * 认养首页推荐位
	 */
	public static final String SEASONAL = "seasonal";
}
